package uy.edu.um.ltic.commons;

import java.io.Serializable;

public class EmployeeVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
	private String surname;
	private int document;
	private int nEmployee;
	private String positionInCompany;
	private String currentCountry;
	private String branch;
	private String department;
	private String username;
	private String password;
	private String documentType;
	private byte[] image;
	private String availability;
	private String email;
	private boolean administrator;
	private String salt;
	public int getDocument() {
		return document;
	}

	public EmployeeVO(String n, String s, int d, int n2, String pos,
			String count, String b, String d2, String u, String pass,
			String sDocumentType, byte[] bImage, String sAvailability,
			String sEmail, boolean bAdministrator, String se) {
		name = n;
		surname = s;
		document = d;
		nEmployee = n2;
		positionInCompany = pos;
		currentCountry = count;
		branch = b;
		department = d2;
		username = u;
		password = pass;
		documentType = sDocumentType;
		image = bImage;
		availability = sAvailability;
		email = sEmail;
		administrator = bAdministrator;
		salt = se;
	}

	public EmployeeVO(String n, String pos, String count, String b) {
		name = n;
		surname = null;
		document = 0;
		nEmployee = 0;
		positionInCompany = pos;
		currentCountry = count;
		branch = b;
		department = null;
		username = null;
		password = null;
		documentType = null;
		image = null;
		availability = null;
		email = null;
		administrator = false;
		salt = null;
	}

	public EmployeeVO(String n, String s) {
		name = n;
		surname = s;
	}

	public EmployeeVO(String user) {
		username = user;
	}

	// esto tambien lo toque, tiene que tener un constructor por defecto!!
	public EmployeeVO() {
		// TODO Auto-generated constructor stub
	}

	// alexis- toque esto porque lo necesito, si no se puede diganme
	public String toString() {
		return name;
	}

	//

	public String getName() {
		return name;
	}

	public String getDocumentType() {
		return documentType;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	public byte[] getImage() {
		return image;
	}

	public void setImage(byte[] image) {
		this.image = image;
	}

	public String getAvailability() {
		return availability;
	}

	public void setAvailability(String availability) {
		this.availability = availability;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public boolean isAdministrator() {
		return administrator;
	}

	public void setAdministrator(boolean administrator) {
		this.administrator = administrator;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}



	public void setDocument(int document) {
		this.document = document;
	}

	public int getnEmployee() {
		return nEmployee;
	}

	public void setnEmployee(int nEmployee) {
		this.nEmployee = nEmployee;
	}

	public String getPositionInCompany() {
		return positionInCompany;
	}

	public void setPositionInCompany(String positionInCompany) {
		this.positionInCompany = positionInCompany;
	}

	public String getBranch() {
		return branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public String getDepartment() {
		return department;
	}

	public String getCurrentCountry() {
		return currentCountry;
	}

	public void setCurrentCountry(String currentCountry) {
		this.currentCountry = currentCountry;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

}
